/***********************************************************************
 * Module:  PoliceVehicleController.java
 * Author:  Administrator
 * Purpose: Defines the Class PoliceVehicleController
 ***********************************************************************/

package ishitong.deviceManagement.controller;

import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

/** @pdOid 0d7ce930-a1cd-4689-a177-9eb69783da5d */
@Controller
public class PoliceVehicleController extends ishitong.common.controller.ActionController {
   /** @pdOid 19523ab4-fe12-4338-b55e-2783b19a28d1 */
   private static final String PV_SCH = "/deviceManagement/policeVehicle/policeVehicleSearch";
   /** @pdOid c9095cc4-b3c9-4b47-95f9-1c4b56e8c20d */
   private static final String PV_SCH_LST = "/deviceManagement/policeVehicle/policeVehicleSearchList";
   /** @pdOid 396f2a53-2da5-4c41-8029-a94ef9290df2 */
   private static final String PV_VIW = "/deviceManagement/policeVehicle/policeVehicleView";
   /** @pdOid 30ebbea2-c0a7-495e-9787-298b4926503f */
   private static final String PV_EDT = "/deviceManagement/policeVehicle/policeVehicleEdit";
   
   /** 查询警车页面初始化
    * 
    * @param request
    * @exception Exception
    * @pdOid 87f0d86a-1f94-4326-96ca-9b1659a1ac4a */
   @RequestMapping(value = "/showPoliceVehicleSearch.do")
   public ModelAndView handleShowPoliceVehicleSearch(HttpServletRequest request) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(PV_SCH, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 查询警车
    * 
    * @param request
    * @pdOid 63c2a6d9-a55f-4fea-a8ba-b710449ea062 */
   @RequestMapping(value = "/ajaxPoliceVehicleSearchList.do", method = RequestMethod.POST)
   public ModelAndView handleAjaxFindPoliceVehicleSearchList(HttpServletRequest request) {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(PV_SCH_LST, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /**维护警车页面初始化
    * 
    * @param request 
    * @param response 
    * @param policeVehicleId
    * @exception Exception
    * @pdOid 2b87dcb8-2075-4737-8af8-96a50cc52285 */
   @RequestMapping(value = "/ajaxShowPoliceVehicleEdit.do")
   public ModelAndView handleAjaxShowPoliceVehicleEdit(HttpServletRequest request, HttpServletResponse response, String policeVehicleId) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(PV_EDT, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /**查看警车页面初始化
    * 
    * @param request 
    * @param response
    * @exception Exception
    * @pdOid 02a59ad1-a4ce-40ac-a48d-6f7fd4ceaa8e */
   @RequestMapping(value = "/ajaxShowPoliceVehicleView.do", method = RequestMethod.POST)
   public ModelAndView handleAjaxShowPoliceVehicleView(HttpServletRequest request, HttpServletResponse response) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(PV_VIW, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 保存警车
    * 
    * @param request 
    * @param response
    * @exception Exception
    * @pdOid 70542fc1-267b-4a07-976c-b3cda174cede */
   @RequestMapping(value = "/ajaxSavePoliceVehicle.do", method = RequestMethod.POST)
   public void handleAjaxSavePoliceVehicle(HttpServletRequest request, HttpServletResponse response) throws Exception {
   	try {
   
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   }
   
   /** 删除警车
    * 
    * @param request 
    * @param policeVehicleIds 
    * @param response
    * @exception Exception
    * @pdOid 5680aa4a-1cf6-4e84-912f-5d07d4d780d0 */
   @RequestMapping(value = "/ajaxDeletePoliceVehicleByIds.do", method = RequestMethod.POST)
   public void handleAjaxDeletePoliceVehicleByIds(HttpServletRequest request, String policeVehicleIds, HttpServletResponse response) throws Exception {
   	try {
   
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   }

}